import set_local from '@dfeidao/atom-wxapp//local/set';
import { IFeidaoAiWeappPage } from '@dfeidao/atom-wxapp/interfaces';
import render from '@dfeidao/atom-wxapp/render/render';
export default async function a002(fd: IFeidaoAiWeappPage, e: {
	currentTarget: {
		dataset: {
			no: string;
			index: string;
		}
	}
}) {
	const select_no = e.currentTarget.dataset.no;
	const select_index = e.currentTarget.dataset.index;
	// console.log(select_index, select_no);
	set_local(fd, 'select_index', select_index);

	render(fd, {
		select_no,
		select_index,
		action_no: select_no
	});
}
